﻿<local:DocumentBase x:Class="WPFExcelReport.YGRGBEVL"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:db="clr-namespace:INTEX.DataBase"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:STK="clr-namespace:WPFExcelReport;assembly=TICC_STOCK" 
                    xmlns:CHG="clr-namespace:WPFExcelReport;assembly=TICC_STOCKCHG" 
                    xmlns:GV="clr-namespace:WPFExcelReport;assembly=TICC_GABEW" 
                    xmlns:ABF="clr-namespace:WPFExcelReport;assembly=TABFOLGE" 
                    Name="TV"
                    Loaded="Window_Loaded"
                    Background="White" 
     >
    <local:DocumentBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:PNumConverter  x:Key="pnum"/> 
    </local:DocumentBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*" ></RowDefinition>
            <RowDefinition Height="1*" ></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <TabControl  Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2">
            <TabItem Header="每日库存">
                <STK:TFDGB Name="cI"
                            KEY="{Binding EXAUF,ElementName=cChg}"
                           QCKEY="{Binding EXAUF,ElementName=cGB33}"
                           />
            </TabItem>
            <TabItem Header="细纱日入库">
                <STK:TFXSDGB13 Name="cXS"
                    KEY="{Binding EXAUF,ElementName=cChg}"
                                QCKEY="{Binding EXAUF,ElementName=cGB33}"
                               />
            </TabItem> 
        </TabControl>
        <TabControl Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2">
            <TabItem Header="移动记录">
                <Grid >
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="1*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"></ColumnDefinition>
                        <ColumnDefinition Width="1*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <CHG:TGBCHG   Grid.Row="1" Grid.Column="0"  
                                  Name="cChg"  />
                    <GV:TCGB14   Grid.Row="1" Grid.Column="1" 
                                EXAUF="{Binding KEY,ElementName=cChg}"
                                />
                </Grid>
            </TabItem>
            <TabItem  Header="质量数据">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition   Height="1*" />
                    </Grid.RowDefinitions>
                    <Grid Grid.Row="0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1*"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <ABF:TVWQC  Grid.Row="0" Grid.Column="0" Name="cGB33" 
                         QPLAN="{Binding QPLAN, ElementName=cDGB33}"/> 
                    </Grid>
                </Grid>
            </TabItem>
        </TabControl>
       
    </Grid>
</local:DocumentBase>
